const TokenKey = "musicUserToken";
const UseridKey = "musicUserid";

export function getToken() {
  return localStorage.getItem(TokenKey);
}

export function setToken(token) {
  return localStorage.setItem(TokenKey, token);
}

export function removeToken() {
  return localStorage.removeItem(TokenKey);
}

export function getUserid() {
  return sessionStorage.getItem(UseridKey);
}
export function setUserid(userid) {
  return sessionStorage.setItem(UseridKey, userid);
}
export function  removeUserid() {
  return sessionStorage.removeItem(UseridKey);
}
